diff --git a/backend/custom_admin/src/components/shared/django-admin-editor-modal/index.tsx b/backend/custom_admin/src/components/shared/django-admin-editor-modal/index.tsx
index b17ae9ac9a..a74723a3af 100644
--- a/backend/custom_admin/src/components/shared/django-admin-editor-modal/index.tsx
+++ b/backend/custom_admin/src/components/shared/django-admin-editor-modal/index.tsx
@@ -1,7 +1,7 @@
import { useApolloClient } from "@apollo/client";
-import { useEffect, useMemo, useState } from "react";
+import { Dialog, VisuallyHidden } from "@radix-ui/themes";
+import { useMemo, useState } from "react";
-import { Modal } from "../modal";
import { DjangoAdminEditorContext, useDjangoAdminEditor } from "./context";
export const DjangoAdminEditorProvider = ({ children }) => {
@@ -49,12 +49,13 @@ export const DjangoAdminEditorModal = () => {
const itemUrl = `${baseUrl}/admin${url}`;
return (
-
-
-
+ !open && onClose()}>
+
+
+ Admin view
+
+
+
+
);
};