Why form is stuck on "Please wait" on submitting?