if parent is not None:
            options["parent"] = self.widgetManager.get(WIDGET_NAMES.SubWindow, parent)