fixed issue-589: using jQuery.fancybox.close() in ''buttons'' helper

fixed https://github.com/fancyapps/fancyBox/issues/589