filled in - only set startDate and endDate in data if there is are initial dates - only update popValid and showPopError if both dates are present
filled in - only set startDate and endDate in data if there is are initial dates - only update popValid and showPopError if both dates are present