Improve hide menu

With https://github.com/rodms10/ircanywhere/commit/f1d38de9ca243d1e32b1bc771f9fbca5f8576431, the dropdown menu would hide whenever user clicks outside the menu. Most menu items were hiding the menu after click, but not all. Clicking on disconnect for example would disconnect but not hide the menu, looking like nothing was happening.

This hides the menu after clicking on any item in the dropdown menu.