Modal Z-Index / Interaction Issue

I’m having a few issues with my modal (click on Schedule a Demo). The Modal Wrapper z-index is set to 6 and the Modal z-index is set to 7:

  1. In Safari, the modal works as designed when opening it the first time. But when it’s opened a second time, clicking into a text field closes the modal. Why would this happen?
  2. In Chrome, when clicking into a text field in the modal on any breakpoint, the close interaction is triggered.

Can anyone help?


Here is my public share link: LINK
(how to access public share link)

I moved the Modal div outside the wrapper and it’s fixed the issue.