Implement fancybox for tab file preview