See the old EditFlag extension for an example. It still uses the UI::WebDialog
class as it is 10 years old and came 4 years before SU2017 and the UI::HtmlDialog
class.
Edit Flag Plugin 2024 - #14 by DanRathbun
I’ve been contemplating updating it for either the UI::HtmlDialog
or an Overlay instead.