refactor
plugin configuration dialog before running the plugin