Trigger a before_open event before opening a node.