code: public static VaadinConfirmDialog show(final UI ui,
              final String windowCaption, final String message,
              final String okCaption, final String cancelCaption,
              final String notOKCaption, final Listener listener) {
          VaadinConfirmDialog d = getFactory().create(windowCaption, message,
                  okCaption, cancelCaption, notOKCaption);
          d.show(ui, listener, true);
          return d;
      }
docs: Show a modal three way (eg. yes/no/cancel) VaadinConfirmDialog in a window.
  
  @param ui
  UI
  @param windowCaption
  Caption for the confirmation dialog window.
  @param message
  Message to display as window content.
  @param okCaption
  Caption for the ok button.
  @param cancelCaption
  Caption for cancel button.
  @param notOKCaption
  Caption for notOK button.
  @param listener
  Listener for dialog result.
  @return the VaadinConfirmDialog instance created