Can a lightbox that wasn't opened progamically be closed programically?

The undefined message has to do with Lightbox needing to be in lower case.

wixWindow.lightbox.close();