@Override
  public @NotNull DialogWrapperPeer createPeer(@NotNull DialogWrapper wrapper,
                                               Window owner,
                                               boolean canBeParent,
                                               DialogWrapper.IdeModalityType ideModalityType) {
    return new DialogWrapperPeerImpl(wrapper, owner, canBeParent, ideModalityType);
  }
@Override
  public @NotNull DialogWrapperPeer createPeer(@NotNull DialogWrapper wrapper,
                                               Window owner,
                                               boolean canBeParent,
                                               DialogWrapper.IdeModalityType ideModalityType)