Uncaught TypeError: Cannot read property 'closed' of undefined at Object.openDialog (browser.js:39) at HTMLButtonElement.onclick ((index):1)Can confirm this is the case for Magento CE 2.1.6. It also does not work after inserting an image (e.g not closing the overlay with X).
I am also not able to switch to the WYSIWYG Editor from the plain editor.
This was already fixed on the develop branch almost a year ago, but wasn't being backported. So I did just that and created a backport for this fix to apply on Magento 2.1.x: https://github.com/magento/magento2/pull/9332 and it was approved!
I hope it will make its way into the next 2.1.x release :)
Hi,
I don't know if it's the same problem, but tested on several personal 2.0.14 install and testable on this 2.0.7 demo online : http://magento2.demo.ubertheme.com/admin (uber / uber123).
1) Create a new CMS page
2) Insert an image (open popup + choose an image + validate) : the popup is closed, the image is inserted
3) Insert a new image (open popup + choose an image + validate) : the popup is closed but the overlay is still here and no image is inserted

Do I need to create a new ticket ? I don't find solution neither similar ticket except this one.
@ferrazzuk, thank you for your report.
The issue is already fixed in develop branch, 2.2.0, 2.1.9
What about magento 2.0 ?
Most helpful comment
Can confirm this is the case for Magento CE 2.1.6. It also does not work after inserting an image (e.g not closing the overlay with X).
I am also not able to switch to the WYSIWYG Editor from the plain editor.