Unable to get nm-applet menu working on QuickShell

Hi, everyone

I have a problem with coding QuickShell panel. I wanted to have system tray on it. I managed to render tray icons, some of them are clickable (for example obs), but unfortunately I can’t get nm-applet menu working. Do you have any idea how to achive it? Here is my code of tray:

import QtQuick
import Quickshell.Services.SystemTray
import Quickshell
import Quickshell.DBusMenu

Rectangle {

    id: trayBar
    implicitWidth: tray.implicitWidth + 7
    implicitHeight: rightAssets.height
    radius: rightAssets.defaultRadius
    color: rightAssets.defaultColor

    Row {
        id: tray
        spacing: 5
        anchors.centerIn: parent

                Repeater {
                    model: SystemTray.items

                    delegate:  Rectangle {
                        //anchors.rightMargin:
                        radius: rightAssets.defaultRadius
                        color: Qt.lighter(rightAssets.defaultColor, 1.2)
                        height: rightAssets.height - 5
                        width: this.height
                        Image {

                                source: modelData.icon
                                anchors.fill: parent
                            }

                        QsMenuOpener{
                            id: menuOpener

                        }

                        MouseArea {
                            anchors.fill: parent
                            onClicked: {
                                modelData.activate()
                                if(modelData.menu){
                                    menuOpener.menu = modelData.menu
                                    console.log(`${menuOpener.children}`)
                                    console.log(`${modelData.id} has menu`)
                                    console.log(`${modelData.menu}`)
                                    console.log(`${modelData.menu.children}`)
                                    console.log(`${menuOpener.children}`)
                                    console.log(`${menuOpener.menu}`)
                                    modelData.display(trayBar, mouseX, mouseY)
                                }
                            }
                        }
                    }

                }
    }
}


Every help is appreciated.