dialog.setTitle("Select the command to run or enter a new command");
dialog.setMessage("Select the command to run or enter a new command");
dialog.setInitialFilter("");
int open = dialog.open();
if (open != Window.OK) {
return null;
}
Object[] result = dialog.getResult();
if (result != null && result.length == 1) {