Why my form is stuck on "Please wait" message on submit?