adjusted sequence of layers in dialog and LayeredVolume