def METHOD_NAME(self, host_name, label):
    from openpype.tools.stdout_broker.window import ConsoleDialog
    """ Initialize dialog, adds to submenu. """
    services_submenu = self.module._services_submenu
    action = QtWidgets.QAction(label, services_submenu)
    action.triggered.connect(lambda: self.show_widget(host_name))
    services_submenu.addAction(action)
    self._action_per_id[host_name] = action
    self._set_host_icon(host_name, IconType.IDLE)
    widget = ConsoleDialog("")
    self._window_per_id[host_name] = widget