SettingsDialog: Make the remove account dialog modal

Otherwise, the user can press the remove account button again, causing
other dialogs to be spawned.