VID-1844 Remove the file=XXX part of the query string on close

This way if the user clicks to another page and then uses the back button they don't incorrectly get the lightbox