dialogSettings.put("outputFilePattern", outputFilePattern);
dialogSettings.put("outputEncoding", outputEncoding);
dialogSettings.put("outputEncodingBOM", outputEncodingBOM);
dialogSettings.put("outputClipboard", outputClipboard);
dialogSettings.put("compressResults", compressResults);
<BUG>dialogSettings.put("openFolderOnFinish", openFolderOnFinish);
if (formatterProfile != null) {</BUG>
dialogSettings.put("formatterProfile", formatterProfile.getProfileName());
} else {
dialogSettings.put("formatterProfile", "");

dialogSettings.put("outputFilePattern", outputFilePattern);
dialogSettings.put("outputEncoding", outputEncoding);
dialogSettings.put("outputEncodingBOM", outputEncodingBOM);
dialogSettings.put("outputClipboard", outputClipboard);
dialogSettings.put("compressResults", compressResults);
dialogSettings.put("openFolderOnFinish", openFolderOnFinish);
dialogSettings.put("executeProcessOnFinish", executeProcessOnFinish);
dialogSettings.put("finishProcessCommand", finishProcessCommand);
if (formatterProfile != null) {
dialogSettings.put("formatterProfile", formatterProfile.getProfileName());
} else {
dialogSettings.put("formatterProfile", "");
