Why my form is stuck on "please wait" on submitting?