diff --git a/core/modules/ckeditor/js/ckeditor.admin.js b/core/modules/ckeditor/js/ckeditor.admin.js index 53ad2b4..c0ee5ec 100644 --- a/core/modules/ckeditor/js/ckeditor.admin.js +++ b/core/modules/ckeditor/js/ckeditor.admin.js @@ -1396,6 +1396,10 @@ function openGroupNameDialog (view, $group, callback) { }); } Drupal.announce(text); + }, + close: function (event) { + // Automatically destroy the DOM element that was used for the dialog. + $(event.target).remove(); } }); // A modal dialog is used because the user must provide a button group name