Open a Lightbox with button from dynamic page

Thanks. What do ou mean name Lightbox instead of ID? Name is the Name I have given, right?
Anyway, when I only code open lightbox with a fixed name, it doesn’t even open :frowning:
See code hereunder
Any suggestion pls?

import wixData from ‘wix-data’ ;
import {wixWindow} from “wix-window” ;
import {local} from ‘wix-storage’ ;

//$w.onReady(function () {

$w(#button8).onClick((event)=>{
wixWindow.openLightbox( “HRM Coaching” );
});