Submit button hangs at Please wait