code: public static void showErrorDialog(String message, Throwable t, Runnable onClose) {
  
          Window window = prepareWindow(DialogWidth.wide);
          window.setCaption(Messages.get().getBundle(A_CmsUI.get().getLocale()).key(Messages.GUI_ERROR_0));
          window.setContent(new CmsErrorDialog(message, t, onClose, window));
          A_CmsUI.get().addWindow(window);
      }
docs: Shows the error dialog.<p>
  
  @param message the error message
  @param t the error to be displayed
  @param onClose executed on close