Feature/fancybox event patch