new/edit event datepicker and inputmask