add support for click on datepicker