title: How to check whether Alert Dialog is open in flutter
body: <p>I am working on my flutter application and I want to check whether the alert dialog is open or not on the screen .
  Can anyone tell me how to do that, basically I want to do some stuff just before and after alert dialog opens and closes.</p>