Close fancyBox in teardown