Force CMS to reload data on save

I am trying to work out what I need to add to a custom class of mine, that extends LeftAndMain. I have doSave and doPublish methods, but I want the CMS to reload itself after one of those buttons is clicked (just like in other areas of the CMS).

I am not sure how to do this though. Do I have to add soem sort of hook into those methods, or is it done though javascript alone?