One of four overloaded methods to set up a modal dialog handler. If you expect a modal
dialog to appear and can handle it during the test, use this method to set up the handler.
Because "expected" is usually (always) true if you are calling this, I don't expect it will
be used externally.
[Visual Basic] Overloads Protected Sub ExpectModal( _ ByVal name As String, _ ByVal handlerName As String, _ ByVal expected As Boolean _ )