How to autoclose browser_mod popup? This code below doesn't work

This code works works to open a popup but the autoclose does nothing. I was hoping that the popup would close after 10 seconds. Any am I missing?

    tap_action:
      action: fire-dom-event
      browser_mod:
        service: browser_mod.popup
        data:
          title: Quick Links
          size: wide
          content:
            type: grid
            square: false
            columns: 2
            autoclose: true
            timeout: 2000
            cards:
              - type: entities
                entities:
                  - entity: cover.blindleft

Found the solution… Bad indentation. This below works perfectly.

    tap_action:
      action: fire-dom-event
      browser_mod:
        service: browser_mod.popup
        data:
          title: Quick Links
          size: wide
          autoclose: true
          timeout: 5000
          content:
            type: grid
            square: false
            columns: 2
            cards:
              - type: entities
                entities:
                  - entity: cover.blindleft