Form clears and pristine on form submission