Ok. I have seen this post before. In your example it illustrates how to start another process via a button on a form. I'm not trying to start another process, but instead just trying to save the data on the form.
What if I don't want to start another process, but instead just want to emulate the Save and Cancel operations?