Programmaticaly show a lightbox

Hi, I created a lightbox and linked it to a button as per developer instructions, but when I press the button, the lighbox doesn’t show.

You must call it by the name and not it’s ID. In the code below ‘LIGHTBOX’ is the the name of the ligthbox page.
===code====
import wixWindow from ‘wix-window’;

//-----

wixWindow.openLightbox(‘LIGHTBOX’)
.then(res => {
if (res === ‘ok’)
$w(‘#dsPaiwiPartners’).save();
});