replaced jquery-ui dialog with fancybox