Preview, Save and Publish functions added, along with settings alert.