Browser_mod.popup problems

Hi
Don’t know if this is in the right place but here goes.
I’m trying to call the browser_mod.popup service from inside a picture elements card but I can’t get it to work.
This is the code for the element. I’m trying to get a mini-media-player card to popup when I click the media player icon in the elements card.
Thanks


- type: state-icon
    icon: mdi:speaker
    entity: media_player.dave_s_echo_show
    style:
      top: 10%
      left: 60%
      transform: scale(2,2)
    tap_action:
      action: call-service
      service: browser_mod.popup
      service_data:
        deviceID:
          - nabucasa-pi
        card:
          type: vertical-stack
          cards:
            - type: custom:mini-media-player
              tts:
                platform: alexa
                entity_id: media_player.dave_s_echo_show
              entity: media_player.spotify_dave
              name: Living Room
              artwork: material
              sound_mode: icon
              source: icon
              info: short
              toggle_power: false