a lot of mods to support pairing and desktop popups in general