Silk performer 21.0 Log out dialog

When i try to replay a navigation recored in Ajax (browser driven), when i close a tab from a button, a confirmation dialog appears, and the script finishes and the dialog remains.

Solutions, i have tried.

I try to close the window but a dialog appears,  I have tried to push the red Sí, but i cannot debug neither.

I have tried, close the dialog from javascript,

with a click based in x, y

with dialogStop

-----------------

BrowserCloseWindow();
BrowserDlgSetButton("Explorador web #2", "Sí");
BrowserTypeKeys("//BrowserApplication", "<ENTER>");
BrowserNativeClick("//BrowserApplication", 600,350, BUTTON_Left, "Click, BROWSERAPPLICATION (#1)");
  --------------------------------

....

The browser is IE. Any help is welcome.