docs: def accept( self ):
          """
          Saves all the current widgets and closes down.
          """
          for i in range(self.uiConfigSTACK.count()):
              widget = self.uiConfigSTACK.widget(i)
              if ( not widget ):
                  continue
              
              if ( not widget.save() ):
                  self.uiConfigSTACK.setCurrentWidget(widget)
                  return False
          
          # close all the widgets in the stack
          for i in range(self.uiConfigSTACK.count()):
              widget = self.uiConfigSTACK.widget(i)
              if ( not widget ):
                  continue
              
              widget.close()
          
          if ( self == XConfigDialog._instance ):
              XConfigDialog._instance = None
              
          super(XConfigDialog, self).accept()