fix pref modal