private static @Nullable WizardPopup getPopupContainer(Component c) {
    JBPopup popup = PopupUtil.getPopupContainerFor(c);
    return (popup instanceof WizardPopup) ? (WizardPopup)popup : null;
  }
private static @Nullable WizardPopup getPopupContainer(Component c)