Check for disposal when responding to keystrokes in the Gallery.
We've run into a problem where the Gallery can be ripped out from underneath a user when they're using keystrokes through slides.
This check resolves the issue and does nothing (the right thing) when the GalleryGroup gets removed.