When adding an item to the menu instance, we should allow registration of a callback and only add the item if the callback returns TRUE.