diff --git a/node_embed.module b/node_embed.module
index 1d10082..d75f3ea 100644
--- a/node_embed.module
+++ b/node_embed.module
@@ -312,3 +312,17 @@ function node_embed_suppress_admin_menu() {
   }
 
 } // node_embed_suppress_admin_menu
+
+/**
+ * Implements hook_admin_paths().
+ *
+ * Show the admin theme in the wysiwyg popup.
+ */
+function node_embed_admin_paths() {
+  $paths = array();
+  if (variable_get('node_admin_theme')) {
+    $paths['ckeditor-node-embed'] = TRUE;
+    $paths['ckeditor-node-embed/*'] = TRUE;
+  }
+  return $paths;
+} // node_embed_admin_paths
