This now shows in our documentation as a design limitation:
- Response defines the response to send back to the function. Example: #OK, #Cancel, or any other string.
Tip: If the dialog is still loading when you open a new page, the Answer Dialog action may fail to trigger. In this case, make the test trigger the "#Cancel" response, and perform another action to close the dialog (like opening a new tab and closing it). This workaround works only for synchronously displayed dialogs.