Stuck on "please wait" after clicking submit button