added datepicker to the get totals dialog