code: def Save(self):
          
          # This method is intercepted to allow ui_sync
          if self._file_to_save_on_Save:
              self._iopticalsystem.SaveAs(self._file_to_save_on_Save)
          else:
              self._iopticalsystem.Save()
docs: Saves the current system