How to add an event for tab navigation.? How can I open the submenu on press of "Enter" or "Space" and how to close on "esc" click?