Added a settings dialog.