Old jquery removed
Added a validation handler for displaying message in the modal