Add focusin handler on body to detect when current focus is outside menu and close the menu if it is.