Hi,
The key is you need to call JavaScript code inside the parent page (the page that contains the dialog) from the ContentUrl page. In order to do that, you basically just do something like this in your ContentUrl page:
Here "someFunction" would be a function that you place in your parent page that can do whatever you want. For example, you can call dialog.close() inside that function to close the dialog:
Code: JavaScript
//Get the dialog object
var dialog = eo_GetObject("Dialog1");
//Close the dialog
dialog.close();
Hope this helps. Please feel free to let us know if you still have any questions.
Thanks!