Adding save all feature and pop alert before publish.

For issue #327