Unable to submit the form and hangs at Please wait