DialogWrapperPeer (Window owner, boolean canBeParent, boolean applicationModalIfPossible) { return createPeer(owner, canBeParent, applicationModalIfPossible ? IdeModalityType.IDE : IdeModalityType.PROJECT); }