fixed config-dep. GenerateDialog
test