Added a settings dialog