popup modal:true

I have a popup with modal:true, and everything works fine. Except, if I click outside of the popup (on the shaded area) the popup closes. Can that be prevented? Thanks.

Popup always closes on click outside. You can try to use window instead.