promises in place, just need to fix the fancybox not opening properly