Fix crash when dismissing TagListDialogFragment