To exit layout editing mode and save changes, click Save in the upper panel.

To exit editing mode without saving changes, click Cancel.