@@ -1025,6 +1025,9 @@ private void finish() {
     @Override
     protected void onDetachedFromWindow() {
         super.onDetachedFromWindow();
+        
+        mIsShowing = false;
+
         if (mDismissRunnable != null) {
             removeCallbacks(mDismissRunnable);
         }