fix required validation not running before dirty