LPS-36650 Validate first layout when moving or deleting layouts from the UI