How to add "Open In Find Tool Window" to reference navigation targets popup?

I am adding reference navigation using a reference navigation contributor, where I register my reference providers for framework-specific elements via the component registrar. Here are some examples:

Registration:

<psi.referenceContributor language="XML" implementation="XXXReferenceContributor"/>

Contributor:

...
class XXXReferenceContributor : PsiReferenceContributor() {

    override fun registerReferenceProviders(registrar: PsiReferenceRegistrar) {
        // <block name="XXX">
        registrar.registerReferenceProvider(
            XmlPatterns.xmlAttributeValue(
                XmlPatterns.xmlAttribute("name").withParent(
                    XmlPatterns.xmlTag().withName("block")
                )
            ).inFile(
                PlatformPatterns.psiFile(XmlFile::class.java)
            ),
            LayoutBlockReferencesProvider()
        )
    }
}

Provider:

...
class LayoutBlockReferencesProvider : PsiReferenceProvider() {

    override fun getReferencesByElement(element: PsiElement, context: ProcessingContext): Array<PsiReference> {
       ...

        return references.toTypedArray()
    }
}

Problem:

In some cases, I have more than 20 navigation targets. I want to add an “Open in Find Tool Window” button to the navigation popup that displays the target results. However, I am unable to find where and how to implement this functionality.

My Current Popup:

Choose Declaration is a platform specific feature when you resolve to multiple targets. This dialog cannot be modified, but you can file RFE https://youtrack.jetbrains.com/issues/IJPL

Thank you! I was wondering whether it is possible to somehow adjust that popup. It is still not such a critical enhancement in my case. Thanks for your answer!

Usually there are few targets to reference.
Maybe you were looking for opening a search window to find “usages”?

Btw, you may change presentation layour of your references to make these “default.xml” readable with tail text, navigation file and offset, icon and the rest stuff.

@xepozz , thank you for your response!

No, these targets are populated by a custom reference provider. It can contain a huge number of results (sometimes).

Yes, I know about target navigable customizations; I have already implemented them. I just wanted to be able to open the result in a tool window. This logic is encapsulated in the GotoTargetHandler, here:

setCouldPin(popup1 -> {
        usageView.set(FindUtil.showInUsageView(gotoData.source, gotoData.targets,
                                               getFindUsagesTitle(gotoData.source, name, gotoData.targets.length),
                                               gotoData.source.getProject()));
        popup1.cancel();
        return false;
      }).

Not a big deal that it cannot be achieved in this context.