Form stays at please wait and never submits