2 Lightboxes show when visiting

I had a lightbox subscription sidebar that popped up when you visited the site. I deleted that lightbox and made a different subscription sidebar and am calling that from the code below, but it also shows the previous subscription lightbox a well when you first visit the site. What am I doing wrong?

import {local} from ‘wix-storage’ ;
import wixWindow from ‘wix-window’ ;

$w.onReady( function () {
if (!local.getItem( “firstTimePopupShown” )) {
wixWindow.openLightbox( “Subscribe (Sidebar)” );
local.setItem( “firstTimePopupShown” , “yes” );
}
} );