UXP ui for c++ filter plugin

The samplecode for the pluginsdk uses the native window system of the respective OS to display modal dialog windows for setting up filter parameters and previewing results. However, the filters that ship with photoshop display their information using an interface consistent with that of the rest of the photoshop ui. I suspect Adobe makes use of their HTML, CSS and JavaScript based UXP (or maybe still CEP) interfaces. All I could find on UXP / c++ filter interaction was this fairly low level description of the communication interfaces:

https://www.adobe.io/photoshop/uxp/2022/ps_reference/media/cpp-pluginsdk/

It would be great if someone could point me in the right direction, on how I would invoke a UXP based interface when the filter selector is called with filterSelectorStart (i.e. the time where the sample plugins usually call their “DoUI()” function that starts the native window system).