adding datepicker to popup