Submit button freezes at "Please wait."