Setup the Category as:
Document - General
Product - General

This limits it to these two and triggers the switch to add the Category to the Document sidebox ...