Here is the quick tip I would like to share (not a question).
I had a couple people emailed me personally from the Wix forum asking this question. I thought I post it here in case people are searching for the answer.
I understand the Lightbox API maybe a bit hard to find. It is in the wix-window API. Here you have it:
And to close the lightbox, use this:
Hope that helps.