The role of dialogic pedagogy in teaching grammar