Mautic Community Forums

Focus item modal dont close and Form redirect page loading inside of modal

Your software
My Mautic version is: v2.15.3
My PHP version is: 7.2

Your problem
I created a focus item that appears in a modal when the user shows the intention to leave the page.

When filling out the form, in any of the options of this item (display message, redirect url or remain in the form), the page is loaded within the modal and it does not close at all.

I noticed that other users had the same problem. I found posts from 2017 but none of them has an answer or mark that the problem has been solved.

I would like to receive guidance on this bug, I am new to Mautic, I used it on a project of mine and installed it for 3 clients, and the 3 are showing the same behavior when using the focus item, I checked the configuration and everything is correct. Can someone help me?

These errors are showing in the log:
the log shows only the MaxMind GeoLite2 error

Steps I have tried to fix the problem:
I redirected the form to a page where I inserted a button with a javascript function to close the modal, but the page does not seem to read the javascript. I tried to debug but when calling the function the console does not stop at breakpoints