clean up the date picker and single-event template