code: def save(self, designName=""):
          # type: (ASaveDesign) -> None
          
          self.try_stateful_function(
              ss.SAVING, ss.READY, self.do_save, designName)
docs: Save the current design to file