docs: def acceptRecord(self, item):
          """
          Closes the tree popup and sets the current record.
          
          :param      record | <orb.Table>
          """
          record = item.record()
          self.treePopupWidget().close()
          self.setCurrentRecord(record)