Have you tried adding a Flow on tp the page and then showing the modal. You need to set the flow to Auto.
This should help: