I ran into this issue with our Redmew scenario and Module Inserter. I have since fixed the Redmew side of things but I though I should also let you know of it to prevent possible issues in the future.
In that specific case clicking the second module button in the MI Interface would also trigger the event to show/close our scenario info screen. Short video of that here: https://cdn.discordapp.com/attachments/306402592265732098/952640374973812746/2022-03-13_19-47-00.mp4
This happend as both buttons where generically named 2 so they reacted to the on_gui_click event from a button named 2.
I have a Pull Request ready and will attach it to this issue.