Preliminary work for the config dialog