Lightbox loading bar created in query and html styled with css displaying the progress in runtime.