Steps to reproduce:
- Open https://de.wikipedia.org/w/index.php?title=San_Francisco&oldid=139847134&veaction=edit
- Adjust browser width and zoom so that the image with the view from Twin Peaks sits right above the climate chart (see screenshot)
- Click on the image with the view from Twin Peaks
Result: The media dialog opens, but is transparent, with part of climate chart template seeing through. Clicking on the button to edit the image ("Bearbeiten") opens the template's dialog instead.
Note: this climate template generates two separate <table>s, see e.g. https://de.wikipedia.org/wiki/Vorlage:Klimatabelle#Verwendungsbeispiel_2
Verified in Chrome and Firefox under Ubuntu and OS X.