@Override
 public void addButtonToLowerPane(@NotNull Runnable runnable, @NotNull String text) {
   int index = myButtonPanel.getComponentCount();
   if (index > 0 && myPresentation.isShowCancelButton()) index--;
   myButtonPanel.addButtonRunnable(index, runnable, text);
 }