Add an event that can be fired when an mform is about to be submitted via ajax. This allows custom field types to perform an action when the form is submitted. The atto text editor will reset any autosaves when the form is submitted.