(()=>{"use strict";document.addEventListener("dialog:aftercreate",function(event){var dialog=event.dialog;if(dialog){var overlay=document.querySelector(".ui-widget-overlay");overlay&&overlay.addEventListener("click",function(){dialog.close()})}})})();