focus on input element in date field and close date popup on tab key down