Add the support for saving/reloading the config and an initial config dialog