Prevent _dbpostscript() from running twice for widgets with dojox/mvc/_Controller mixed in, fixes #17439.

(cherry picked from commit bd9137e0b1039bd01786ab38387579fce4288125)