Custom dialog, dismiss failed

I have set CustomDialog but failed to dismiss.
My setup.
1 - When internet disconnected

out put

Error is here

out put

It seem its not fully closed. is this bug or any help

It seems notifier is closing the custom dialog correctly. There is another cardview’s copy behind the dialog. you should remove it.
If it doesn’t helps you, then, send me your aia in PM

Also, If you use your any component in dialog, then, there is no need to visible/invisible them. You can directly show/hide it when needed.

Now i am confusing about that copy of card view. how it copied and how to remove it because above images are my setup. maybe show me which to add or remove.