Add the CloseMenu event/API.