When I click the submit button, it freezes on "Please wait" status