Fix a bad var name in Controller::updateSettings

- Rename "globalDialog" to "global"