#289 changed save and publish button logic.
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev