Hi,
I tried to make a demo to reproduce the behaviour. Our site is intranet and contains classified data. Therefor I am unable to share. Which makes it hard to find the problem. I was unable to reproduce the behaviour in a simple demo.
However we think we may have found a workaround.
The modal window with the CE is closed by clicking a button. That button generates client side code to close the window. By using a delay before the modal window gets closed it seems that their is enough time and the error doesnt occure anymore.
Regards,
Arnold