Bug fixes and close dropdown on pressing 'Esc'.

Bug fixes to allow navigation through 'tab' key.
Dropdown closes on pressing 'Esc' key.