A minimal dynamical model of edge localized mode phenomena