datepicker added to edit page