Unable to submit form as it says Please wait