Close the menu if is open on the basic conext menu actions