calender future dates disabled and flash message changed