Hook datepicker to edit page.