show the publish button only if there are changes