No it does not. When you click the second window's close button, it tells you to close the window with the link inside window instead. That's intentional and demonstrates that you can suppress the action on close button.
Your problem is that you have modal window with panel inside modal window with page. If you want to nest those windows, the inner modal window must be with page too. -Matej On 7/10/07, jamieballing <[EMAIL PROTECTED]> wrote: > > It turns out if you have a modal within an iframe (i.e. backed by a page) and > want a secondary modal, that modal also needs to be in an iframe. > > Incidentally, the problem occurs in one of the wicketstuff examples. If you > go to: > http://wicketstuff.org/wicket13/ajax/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.ajax.builtin.modal.ModalWindowPage > * open the modal with a page > * click the open another modal link > * click the "X" in the uppper right of the secondary modal > > -- > View this message in context: > http://www.nabble.com/Problem-with-%22Close-the-top-level-modal-window-first%22-message-tf4047233.html#a11512558 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user