Why when I click Submit button, form hangs on "Please wait"?