This plugin enables to close a jQuery UI dialog when clicking outside anywhere outside the dialog or the element that opened it. A simple demo is available as well. In order to use it, simply add ...