CON-1887 improve lightbox loading