Use domClass.toggle(), not .add(), so that dijitTreeIsRoot is removed on DnD.
Fixes #17978.