format prefs modal