importFileDialog.setPreviewData(importer.getPreview(10));
GUIUtils.processOnSwingEventThread(new Runnable() {
public void run() {
session.getApplication().getMainFrame().addWidget(importFileDialog);
importFileDialog.moveToFront();
DialogWidget.centerWithinDesktop(importFileDialog);
importFileDialog.setVisible(true);
}
}, true);