Completed the implementation of the settingsDialog.