Add functionality to disable past dates when selecting in calendar.