A new criterion for controlling edge localized modes based on a multi-mode plasma response