Maybe I am the one who does not understand ...
But from looking at your answer it looks to me that you are providing a mthod for the veil to whiteout the parent page but I do not see how the code on the parent page will not continue to run.
Perhaps I am missing something but will the line of code after the one that opens the dialogue wait to execute until after the dialogue is dismissed?
I just do not knwo how to ...
Yes but ...
In my case PAGE B (a child or PAGE A) needs to invoke the dialogue but needs to do so thru PAGE A so that PAGE A is also covered/disabled. It is a function on PAGE B that needs to be executed when the dialgue closes but I am not sure how to do that.
Can I some way inside of PAGE A tell the dialgue to call a function that is on PAGE B?