For things like menu i used make a global variable called "menu" and do something like this
+System: menu = "visible"
+ All actions for menu
+System: menu = "not_visible"
+ All actions for game
This will make sure that all object for menu are only accessible when global variable = visible - all interactions with buttons, sprite visibility etc...
It's quite easy and fast to setup.