close on background veil click

Dialogs will close when there's a click on the background veil.