dim = dlg->getDim();
mGimmick->UpdateSetting(SETTINGS_OUTPUT_ASK, dlg->getAsking());
mGimmick->UpdateSetting(SETTINGS_OUTPUT_DIM, dim);
dim = dlg->getDim();
mGimmick->UpdateSetting(SETTINGS_OUTPUT_ASK, dlg->getAsking());
mGimmick->UpdateSetting(SETTINGS_OUTPUT_DIM, dim);