Form not submitting and hanging on "Please Wait"