added the data-dojo-props property for openOnClick and set it to true.