Close menu after entry activation and wait for grab operations
Make sure we always emit the activate
signal on menu items, and that their parent menu isn't closed first.
Then on window menu, wait for menu grab operation to be ended before trying to start a new one.