removed fancybox onclose callback as it was causing problems