Both of the following images are set up with „link to media file“ but only the one which does not have the caption is opening in the modal window. As far as I can see there is the class ‚featured_image_wrapper‘ missing on the a tag of the one with the caption which is probably used to trigger the modal window function.
Please let me know how to fix this, so no matter if images do have a caption they both open with the modal window and not in a new window/tab.
Here are the settings: