Adding the code below and opening "Bag" and then closing "bag again wil give the following result.
Normally when selecting an option in the menu it will automatically close the menu. In the example below this is not the case, so this is probably a bug.
If this is not the case then we should be provided with an alternative command that closes the dialog since now we are in a state where the menu is no longer closable.
on showFirstMenu do menu at 0,0 then option "Bag" then call "fightShowSecondMenu" end end end on fightShowSecondMenu do menu at 0,0,10 then option "Return" then call "showFirstMenu" end end end