NV: saving and restoring layouts done