Reset cursor to wait when submitting form