Fix ESCDialog with dojo 1.9