Why my form is not submitting, instead it's saying "Please wait"?