title: PySide6 TypeError when trying to open window for second time
body: <p>I have two classes in PySide6. One is the main window and the second one is a widgetWindow.
  The main window is opening the widgetWindow with this function:</p>
  <pre><code>def connect_modbus(self):
      # connect with modbus 
      self.connect_modbus = ConnectModbusWindow()
      self.connect_modbus.show()
  </code></pre>
  <p>The ConnectModbusWindow Class looks like this:</p>
  <pre><code>class ConnectModbusWindow(QWidget, Ui_ModbusConfig):
      def __init__(self):
          super().__init__()
          self.setupUi(self)
  </code></pre>
  <p>I have no problem opening the ConnectModbusWindow for the first time. But when I try it for the second time i get the following error:</p>
  <blockquote>
  <p>TypeError: 'ConnectModbusWindow' object is not callable</p>
  </blockquote>
  <p>It doesn't matter if I am closing the window, with the red close button or with
  <code>self.close()</code>.</p>
  <p>I created the Ui_ModbusConfig class which gets inherited by ConnectModbusWindow in the pyside6-designer.</p>