Dialog modal: How to close menu when overlay is clicked?

Dialog modal: How to close menu when overlay is clicked?


How would one unbind the anti-click measures from the UI Dialog
modal's overlay?
I'm trying to make the overlay close the dialog on-click, but it
appears that the aforementioned feature is preventing this.
Help? :)