Add CreateMenuItemFromNodeEvent and dispatch in createFromNode.
cleanup the menu creation event and improve doc