(open page logic) open modal = true issue?

Im using this logic component

image

and with setting like this
image

i notice that when the page “terms2” is open the current page are stop or i say it blur now. I understand it if the open modal is false. but i open the page as modal. what happened is the current page run the page mounted and page focus is running again after i close the terms2 page.
image

is this a bug or is this a changes? thank you