add datepicker in the agenda