configure menu event: preference dialog for code generation