Got the form in the modal to show the validation messages before submit.