Fixes #16598 The gif popup was using the global RootStore, but it didn't work and it's also not a good practice. I moved the function to enable to the GifStore which is accessible as a reference instead.
Closes: #16253