Add an API to open a menu given its ID