I have been working with some WebFileUpload buttons and they are pretty nice. I have even created a file upload confirmation dialog to let users preview the file they have selected before actually saving it.
Something midly annoying happens however: when that dialog (or any other cWebModalDialog) is open over the view which contains that upload button, the drop zone remains active. That said, if the user tries to drag and drop a new file while a dialog (that upload dialog, any lookup,...) the drop zone will be shown over it.
I can disable it setting psDropZoneObjName manually, but that is not ideal. That way that property should be changed for every modal dialog on that view when it is open.

Is it possible to check whether a modal dialog is active and disable every drop zone of the "background" view if that happens?

Click image for larger version. 

Name:	drop-files.png 
Views:	30 
Size:	26.9 KB 
ID:	13229