For using fancybox to show alert and confirm dialogs.