diff --git a/lib/src/components/modal/ModalHeader.tsx b/lib/src/components/modal/ModalHeader.tsx
index 0f4d74195..3c7d522d9 100644
--- a/lib/src/components/modal/ModalHeader.tsx
+++ b/lib/src/components/modal/ModalHeader.tsx
@@ -17,7 +17,9 @@ export function ModalHeader({
{navigationItems}
-
+ {typeof onCloseClick === "function" ? (
+
+ ) : null}
);
}