How to automatically convert a labelmap volume to a segmentation node upon loading labelmap volume

In recent Slicer Preview releases, you can load the volume file directly as segmentation node. No need for an intermediate labelmap.