int ret = JOptionPane.showConfirmDialog(null,
question, question, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
if (ret == JOptionPane.YES_OPTION) {
File storageFile = appSettings.getStorageFile();
try {
new XmlExport(dataPool, dataSettings,
new FileOutputStream(storageFile)).doWork();
logger.info("Auto-export to:" + storageFile);
} catch (Exception ex) {
logger.fatal("Couldn't auto-export to:" + storageFile, ex);
getApplication().getActiveWindow().getStatusBar().