Multi-part form in a Bricks popup

Hi,
I’ve placed a multi-part gravity form inside a Bricks popup. If I try to fill the form and hit > next page it closes the popup. I tried setting ajax=true in the shortcode but that didn’t work. Any ideas folks?

If anyone else should come across this problem…

In the popup settings I set the close events to background only. And in the Gravity shortcode I added ajax=“true” to stop the form reloading the main page.

That seems to have sorted it.