protected @NotNull DialogWrapperPeer createPeer(@Nullable Project project, boolean canBeParent) {
    return DialogWrapperPeerFactory.getInstance().createPeer(this, project, canBeParent);
  }
protected @NotNull DialogWrapperPeer createPeer(@Nullable Project project, boolean canBeParent)