Auto-close calendar on date selection.