Fixed up the calendar. Icon click works. Calendar dismisses when a date is chosen