To save all of your modifications permanently, click on the Save button in the Reference/Keyword window.

To discard your modifications, click on the Cancel button instead.