Settings dialog writes settings to config file.