attributes editor for document