// change error display from alert to fancybox