@Override
  public void setContentPane(JComponent content) {
    myDialog.setContentPane(IdeFrameDecorator.Companion.isCustomDecorationActive() && !isHeadlessEnv()
                            ? CustomFrameDialogContent.Companion.getCustomContentHolder(getWindow(), content, false)
                            : content);
  }
@Override
  public void setContentPane(JComponent content)