Hiding calendar when clicked outside does not change the date.