Chainsaw: add saveState/restoreState interface for saving with DG documents