Pop-up after submit form

Hello. Help please. I made a success message as a pop-up.

It is displayed correctly in the editor. But on the real site, the pop-up is displayed within the block with the form (although it is not relative, a static). Why does this happen? But how can it be fixed?

Here is my site Read-Only: Webflow - Emerald

Site: Untitled

Hey @ksenia.stels

We’ve experienced simmilar issues before however this is something not editable via standard CSS settings as far as we’ve seen on multiple different instances. I’d recommend creating a script which will register if a form is submitted and if it is successfully submitted display a div popup (which is located anywhere on the page but not in the form itself) rather than the actual success message itself

Let me know if you need help with the script, cheers,
Flow Ninja Team!