nests copy of target and close button in separate div
nests copy of target and close button in separate div

If target was an image then the close button wouldn't appear since
images can't be nested in one another.

nemac/lightbox