Default click event was getting through when a day was clicked in the calendar.