Hide datepicker on Esc key press