Hi,
Do this instead, create the widget once then store it in a variable:
flipflop node is better. You don’t need your Is Map Open variable (unless you are referencing it elsewhere).