Change the type of submit to button in the form set this plugin, you will get validations via ajax and direct drawing. And jQuery UI Dialog will be available to you more effectively!
jQuery Plugin to validate some basic types of data input
A super-simple way to style select elements.
jQuery-keepFormData allows you to restore the values of the form’s fields, the state of checkboxes, radio buttons and select elements that the user entered, after reloading the page. By default, values are stored until form’s submit.
jQuery plugin to watch the form field’s.