Fixes #5323 catches calls directly to fancybox and displays error message