def close(self):
        if self.dialog is not None:
            self.dialog.close()

        # re initialize self
        self.__init__()
kills the progressWindow
dataset/ETHPy150Open eoyilmaz/anima/anima/ui/progress_dialog.py/ProgressDialogManager.close