Why Submit button hangs on "Please wait"?