trying to limit datepicker events - need to introduce datepicker dialog