filling out pref dialogs