When the figure modal is open, if you click on the caption or the image count text in the upper right corner, the modal closes. It would be better if either clicking them didn't close it, or if clicking anywhere in the black area did. All or nothing.
If we want it not to close, I think an mfp-prevent-close class could be added to the offending items.
When the figure modal is open, if you click on the caption or the image count text in the upper right corner, the modal closes. It would be better if either clicking them didn't close it, or if clicking anywhere in the black area did. All or nothing.
If we want it not to close, I think an
mfp-prevent-close
class could be added to the offending items.