Workaround for dijit/dialog on dojo 1.9.3