Close open dialogs for session?

Is there a way to look at open dialogs for a session. I have a method to close windows. Im looking for something like this to close dialogs. Thanks

Public Sub ShowPageCloseOthers(OpeningPage as WebPage)

  For i As Integer = 0 To Session.PageCount - 1

  If Session.PageAtIndex(i).Name <> OpeningPage.Name Then
  End If 


End Sub

Dialog instances dropped on WebPages should automatically close. If it doesn’t, please file a bug report.

As for those that are created in code:

Var dlg  as new MyWebDialog

You’ll have to keep track of them yourself at the moment.