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
VID-1844 using string instead of selector for pin reference
Merge pull request #4249 from Wikia/VID-1844

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