//i18n[ImportTableDataCommand.settingsDialogTitle=Import file settings]
final JDialog dialog = new JDialog(session.getApplication().getMainFrame(), stringMgr.getString("ImportTableDataCommand.settingsDialogTitle"), true);
StateListener dialogState = new StateListener(dialog);
dialog.setLayout(new BorderLayout());
dialog.add(importer.getConfigurationPanel(), BorderLayout.CENTER);
OkClosePanel buttons = new OkClosePanel();
//i18n[ImportTableDataCommand.cancel=Cancel]
buttons.getCloseButton().setText(stringMgr.getString("ImportTableDataCommand.cancel"));
buttons.addListener(dialogState);
dialog.add(buttons, BorderLayout.SOUTH);
dialog.pack();
GUIUtils.centerWithinParent(dialog);
dialog.setVisible(true);
if (!dialogState.isOkPressed()) {