Preventing entry of wrong dates by Closing Periods