Form hangs on "Please Wait..." when I click on the submit button