Popup menu show menu items depending on the type of message