protected @NotNull DialogWrapperPeer createPeer(@NotNull Component parent, boolean canBeParent) {
    return DialogWrapperPeerFactory.getInstance().createPeer(this, parent, canBeParent);
  }
protected @NotNull DialogWrapperPeer createPeer(@NotNull Component parent, boolean canBeParent)