handle form reset correctly
show calendar on click on input