The Close command regroups an opened group. For nested groups, closing the outermost group object closes all open inner groups.
When you link an object to a closed group, the object becomes a child of the group parent rather than of any member of the group. The entire group flashes to show that you've linked to the group.
To close all opened groups nested within a main group: