enable the user to close the lightbox whereever he clicks on the topbar of the lightbox