Checked if the lightbox is initialized (open) to handle keyboard input as it shouldn't be handling it when it's not open.