If no doctypes exist then hide Master Doc Type dropdown

Fixes U4-4347