Mechanisms for photonic switching in systems with strongly interacting dipoles door