Fix a bug with dismissing from alt text mode.