Bug1088051 - Fix of stuck in image edit window on clicking edit icon immediately after image delete r=djf