Motivated by the problem of jet-flap interaction noise, we study the tonal dynamics that occur when a sharp edge is placed in the hydrodynamic nearfield of an isothermal turbulent jet. We perform hydrodynamic and acoustic pressure measurements in order to characterise the tones as a function of Mach number and streamwise edge position. The distribution of spectral peaks observed, as a function of Mach number, cannot be explained using the usual edge-tone scenario, in which resonance is underpinned by coupling between downstream-travelling Kelvin-Helmholtz wavepackets and upstream-travelling sound waves. We show, rather, that the strongest tones are due to coupling between the former and upstream-travelling jet modes recently studied by Towne et al. (2017) and Schmidt et al. (2017). We also study the band-limited nature of the resonance, showing a high-frequency cut-off to be due to the frequency dependence of the upstream-travelling waves. At high Mach number these become evanescent above a certain frequency, whereas at low Mach number they become progressively trapped with increasing frequency, a consequence of which is their not being reflected in the nozzle plane. Additionally, a weaker, low-frequency, forced-resonance regime is identified that involves the same upstream travelling jet modes but that couple, in this instance, with downstream-travelling sound waves. It is suggested that the existence of two resonance regimes may be due to the non-modal nature of wavepacket dynamics at low-frequency.