I wanted to add template Reflist and to edit page, and I used VisualEditor. When I wanted to add template Reflist, I added, but see picture:
VisualEditor does not removed dialog, although it should do so. Sometimes work normal, sometimes no.
Tested in palemoon