changed new form to add datepicker and fix priority slider