Calender modal works