added default styles for prefs and dialogs