If anyone has something similar, this might or might not be related to an issue we had (v. 8.3.2)
If you have no windows with isModal set to true, and you have some with it set to false, you get this error
If there is at least one window with isModal = true, or other windows do not have isModal set (or set to an undefined variable), it works OK