To save the changes: press when you have finished editing.
If you select not to overwrite the image a copy of the original image will be created with changes applied.
To discard the changes: press and select Cancel.