Fix the date picker to auto hide when user already chose a value

Reviewer: Dan V

issue: none