adding timeout validation on submit