working on a settings dialog