set form item pristine to false on submit if error