Open and close modals

Hi, i have a similar question like here:

Structure is:
a Panel
in this panel are two modals
the panel is cloned 7 times
these two modals have an ID letter by

@{parent.variables.stomp}

in the id PROP.
In the clones of the panel this variable is changed.

now i want to make a button in one modal to close the current one and open the other modal.

i have the preargs needed, and it opens up the new modal like expected(linkid>>[string] / linkid<<[string] )

But i need to close the current modal and open up the new one, using

set('id','preargs',0)

did not work here.

Any ideas ?

Thanks!

Preargs should not be provided when using set(), only the first argument after the id is sent to the widget.

Argh! thanks, one tiny error, now it seems to work! Thank you!