first version of settings dialog