Make a NAMEMAPPING of your popup, and in the "while loop" statement use "code expression" anf paste your object.visible in the Value1, then "not equal" then "true" in the value 2.
Make a namemapping of your popup, and in the "while loop" statement use "code expression" and paste your object.visible in the Value1, then "not equal", then "true" in the value 2.