Not able to submit form, it just says Please wait...