Add buttons for document state