remove validation if hitting cancel