show unsaved changes for document