Want to disable popup closing, is it possible with Mautic?

Your software
My Mautic version is: 2.16
My PHP version is: 7.2

Your problem
My problem is: Is there a way to disable Mautic’s popup closing (the small X at the corner)?

These errors are showing in the log:

Steps I have tried to fix the problem: