Applies the given snapshot to the dirty state.
Creates a snapshot of the dirty state.
Reverts dirty changes.
Saves dirty changes.
Applies the given snapshot to the dirty state.