diff --git a/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx b/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx
index 00428f7c71a..67183c94f5e 100644
--- a/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx
+++ b/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx
@@ -1,6 +1,6 @@
-import {Box, Card, Flex, Stack, Text, TextInput, useToast} from '@sanity/ui'
+import {Box, Card, DialogProvider, Flex, Stack, Text, TextInput, useToast} from '@sanity/ui'
import {useEffect, useId, useMemo, useState} from 'react'
-import {type Role, useClient, useProjectId, useTranslation} from 'sanity'
+import {type Role, useClient, useProjectId, useTranslation, useZIndex} from 'sanity'
import {styled} from 'styled-components'
import {Dialog} from '../../../ui-components'
@@ -58,6 +58,7 @@ export function RequestPermissionDialog({
const projectId = useProjectId()
const client = useClient({apiVersion: '2024-09-26'})
const toast = useToast()
+ const zOffset = useZIndex()
const [isSubmitting, setIsSubmitting] = useState(false)
@@ -126,61 +127,63 @@ export function RequestPermissionDialog({
}
return (
-
+
+
+
)
}