Form gets stuck on "Please wait" when trying to submit it.