def remove_dialog(self, dialog):
        dialog.hide()
        if dialog in self._cur_dialogs:
            self._cur_dialogs.remove(dialog)
        dialog.delete()
dataset/ETHPy150Open ejeschke/ginga/ginga/gw/Desktop.py/Desktop.remove_dialog/original