def on_Button_clicked(self, checked=None):
    if checked == None:
        return
dialog = QDialog()
dialog.ui = Ui_MyDialog()
dialog.ui.setupUi(dialog)
dialog.setAttribute(QtCore.Qt.WA_DeleteOnClose)
dialog.exec_()
Откройте второе окно в PyQt