change class name for terms dialog language toggle elements