Publish button only appears when the document has been modified