Fix Editor Save Button not allowing unpublish

Closes #2918
Merge pull request #2919 from novaugust/editor-button-unpublish-fix

Fix Editor Save Button not allowing unpublish