add a datepicker for events