'Sends the host_id of the clicked host back to the application'

def on_click(self, tree_view, path, column):

    tree_iter = self.model.get_iter(path)
    host_id = self.model[tree_iter][0]
    self.open_dialog_callback(host_id)
