When selecting a document type, add a tag automatically.
When selecting a document type, add a tag automatically.