+
{props.children}
diff --git a/src/overlays/__mocks__/tabbable.js b/src/overlays/__mocks__/tabbable.js
new file mode 100644
index 0000000..9d0ee52
--- /dev/null
+++ b/src/overlays/__mocks__/tabbable.js
@@ -0,0 +1,14 @@
+// Solution taken from:
+// https://github.com/focus-trap/tabbable#testing-in-jsdom
+
+const lib = jest.requireActual('tabbable');
+
+const tabbable = {
+ ...lib,
+ tabbable: (node, options) => lib.tabbable(node, { ...options, displayCheck: 'none' }),
+ focusable: (node, options) => lib.focusable(node, { ...options, displayCheck: 'none' }),
+ isFocusable: (node, options) => lib.isFocusable(node, { ...options, displayCheck: 'none' }),
+ isTabbable: (node, options) => lib.isTabbable(node, { ...options, displayCheck: 'none' }),
+};
+
+module.exports = tabbable;
\ No newline at end of file
diff --git a/src/overlays/__stories__/Dialog.stories.tsx b/src/overlays/__stories__/Dialog.stories.tsx
index 10f1b51..62f609f 100644
--- a/src/overlays/__stories__/Dialog.stories.tsx
+++ b/src/overlays/__stories__/Dialog.stories.tsx
@@ -19,11 +19,11 @@ export const Default = () => {
return (
<>
-