Well if the form is validated the form data is inserted into the database and re-directed to a success page ( i’ve used WebAssist for this part ).
Usually if there is errors in the form then the modal stays open and displays the error messages form the jQuery Validate Setup.