docs: def saveAs(self, path):
          """
          save to file under given name
          """
          if not path:
              path = self._dialogs.getSaveFileName(filter='*.csv')
          if path:
              self._setPath(path)
              with open(str(self._path), 'wb') as stream:
                  writer = csv.writer(stream)
                  table = self.table()
                  for row in table:
                      writer.writerow(row)