docs: @Override
      protected void afterRemoveChild(ElementBase child) {
          if (child == activePane) {
              setActivePane((ElementTreePane) getFirstChild());
          }
          super.afterRemoveChild(child);
      }