This is usually more reliable of e.g. a dialog's app-id. This has several TODOs in the code (hence draft), I mostly wanted to do a quick check if this is works as intended.
/cc @eliasrudberg as this came out of #958 (closed)
Signed-off-by: Guido Günther email@example.com