So instead, you have to think 'around' the problem. And find a way to execute the desired action from the parent window. Try executing this from a button on your first page:
Code:
if (DialogEx.Show("Dialog1", true, 220, -120) == IDCANCEL) then
Page.Jump("Page2");
end

Leave a comment: