private void CloseActiveCharacterWidgetPopup(ManagedCharacter character) { popupService.SavePosition("ActiveCharacterWidgetView", character != null ? character.Name : null); popupService.CloseDialog("ActiveCharacterWidgetView"); ActivateAnotherWindowAfterCollapsingCurrentOne(ActiveWindow.ACTIVE_CHARACTER); }