menu now closes when esc is pressed or when document is clicked outside of menu button/menu items.