Unable to submit form in IE because it is stuck on please wait