initial check in of before-render callback used to restrict dates