fix up ajax override for form submit