Why my form is stuck on please wait on submit?