title: Adding a Page Editor 'Save and Publish' Button
body: <p>I would like to provide another button beside "Save &amp; Close" button on site Page Editor that will trigger save and publish action once pressed.
  I went to core and made a copy of "Save &amp; Close" button that I'm planning to modify.</p>
  
  <p><img src="https://i.stack.imgur.com/Jx2BI.png" alt="enter image description here"></p>
  
  <p>I would call this button "Save &amp; Publish", but now I'm kinda curious if I have to modify javascript to include my custom call (let's say <code>javascript:scSave("myPublish:saveAndPublish")</code>)</p>
  
  <p>I'm following <a href="http://adeneys.wordpress.com/2008/08/27/creating-and-running-custom-pipelines-in-sitecore/" rel="nofollow noreferrer">this</a> article to hook into pipeline and complete the action but not sure if that is proper way.</p>
  
  <p>Any advice?</p>