Is this what you're talking about?
you're missing the point.
The unwanted closing of the menu is only the side-effect, not the cause.
The cause is that the common event can only be processed on the map itself, because the game interpreter by default only exists on the map.
So the item needs to close the menu for the common event to be processed.
The OP doesn't want this closing, but he still wants the common event to run.
And as I said above that can only be solved by either adding a game-interpreter-code to the menu scenes, or by re-opening the menu after the common event is run.
@arashiya
it is possible to set a switch in the damage formula of the item, just check the pinned topic for the damage formula coding to learn of the command syntax. If you make the common event an autorun triggered by that switch it will be processed as soon as the player leaves the menu (don't forget to turn off the switch at the end)
Or you could try to use Tsukihime's plugin for scene interpreters, that is the alternative I mentioned.