Fancybox close function variations (version related differences).