Adding callback handling and removal of save button 

... on processed and final states.

fixes rSmart/issues#303
This is part of another diff. I don't understand what it's doing here. It should be part of the pull request I did for the close button issue.