moved modal toggle on entire frame instead of image only