Auto set Select values for new documents, other minor fixes