When an object is opened, the window is a sort of editing buffer, which must be posted in order to change the library object itself.
There is also a short list of the last few edit states maintained for each open object, which can be used to undo changes to the window. HERE for detail.
Further, since most destructive edit commands save the term before modified, you can often use the
For more drastic changes, you can copy the current value of the object to the window with the