query modal with init, max, min dates in datepicker set