Added a dateClick event for when a day is clicked on calender.