Try the below plugin. This way the document body being clicked won't close your active window if the active window is contained within another component (such as a tab in a tabpanel) and the document body is clicked, but the mask itself is not.

**WARNING - This uses Ext.WindowManager.mask which is NOT a public property - use at your own risk.

Try the below plugin. This way the document body being clicked won't close your active window if the active window is contained within another component (such as a tab in a tabpanel) and the document body is clicked, but the mask itself is not.

**WARNING - This uses Ext.WindowManager.mask which is NOT a public property - use at your own risk.