'Please wait' error message displays after submitting the form