Miscellaneous improvements for the document properties dialog