Trying to adapt the context menu to the node type