docs: def reject(self):
          """
          Emits the accepted signal and closes the popup.
          """
          self._result = 0
          if not self.signalsBlocked():
              self.rejected.emit()
          
          if self.autoCloseOnReject():
              self.close()