bug fix for edit image form. open form in fancybox