i have a modal window (let's call it window1) with a button.
When the user clicks on that button, the idea is to open a new modal window (let's call it window2).
Everything works fine: users clicks on the button, and the window2 is shown as a modal window, but the loading message doesn't disappear to show the contents of this page.
Another question is how can i return data from window2 to its parent (window1).
The contents of this window2 is a grid with some data. The goal is that, when the user selects a row on the grid window2 is closed, and the selected data is returned to window1.
Probably this is a bit complicated to understand, so i configure one site where you can see:
and the code can be downloaded here: