diff --git a/src/Web/Web.csproj b/src/Web/Web.csproj
index 0a1a20fc..f18ecdad 100644
--- a/src/Web/Web.csproj
+++ b/src/Web/Web.csproj
@@ -195,6 +195,7 @@
+
Designer
diff --git a/src/Web/sitecore/shell/Controls/Rich Text Editor/EmbedMedia/EmbedMedia.js b/src/Web/sitecore/shell/Controls/Rich Text Editor/EmbedMedia/EmbedMedia.js
index 0fdc0544..467428f8 100644
--- a/src/Web/sitecore/shell/Controls/Rich Text Editor/EmbedMedia/EmbedMedia.js
+++ b/src/Web/sitecore/shell/Controls/Rich Text Editor/EmbedMedia/EmbedMedia.js
@@ -14,6 +14,8 @@ function getRadWindow() {
return null;
}
+var isRadWindow = true;
+
var radWindow = getRadWindow();
if (radWindow) {