add datepicker to contracts