I am using a jQuery Modal Dialog box to ask the user if they wish to submit the form or not.
However after the user clicks Dialog\'s Submit button, the form is not
You can try on submit event form have different type of events.
onsubmit="return confirm('Please confirm that you want to submit')"
see this EDIT , now you can change create one function with Modal Dialog return true or false.