fix ignore fancybox
changes for layout and alert