It would be fvery helpful if automatically switch to single layout when we close the file in the next group (or maybe if the group is empty).