Submitting form is stuck on "Please wait..." message