Fix regression with modal