Twilight obeyed, and started feeding magic into the gem which started to glow brighter with the more magic she put into it. It seemed a little flawed that if these mirrors stopped working Starswirl would've trapped himself out of this place, but considering how long the Circen desert mirror had been working, they had to be quite robust.