Try this ..
Code:
If Browser("abc").Dialog("prf").Exist Then
Browser("abc").Dialog("prf").WinButton("OK").Click
End If
