Fix BadTokenExceptions with VolumePanel.

The panel's display could happen while the activity hosting the
NowPlayingFragment was finishing, or finished.  Include an explicit check
for this before showing the dialog, and ensure the dialog is dismissed
when the fragment is paused.