hook up buttons + menus + dialogs