NEW: dialog for preferences.