code: protected final void ok() {
  		final String dir = panel.getDirectory();
  		final boolean include = panel.isIncludeSubdirs();
  		close();
  		listener.finished(dir, include);
  	}
docs: The dialog was successfully finished.