publish button disables on publish