fix MIDs from dijit to dojo, fixes #18363

(cherry picked from commit 91712d82752a6744f3fc2619a787cea3e61494b1)