Implemented lightbox (still generates errors on close)