To exit layout editing mode and save changes, click theĀ  button to open the context menu of the layouts ribbon and select Save changes (1).

To exit editing mode without saving changes, select Revert changes (2).