void ReverseDisableOthers(IPopUp enablingPopUp) { IPopUp parentPopUp = enablingPopUp.GetParentPopUp(); if (parentPopUp != null) { parentPopUp.ReversePopUpDisableRecursively(); RegisterPopUp(parentPopUp); } else { thisRootUIElement.ReversePopUpDisableRecursively(); ClearActivePopUp(); } }