code: public void setContent(Region content) {
          if (content != null) {
              this.content = content;
              this.content.setPickOnBounds(false);
              contentHolder.getChildren().setAll(content);
          }
      }
docs: set the content of the dialog
  
  @param content