Add show() invocation for the second panel as onclose handler for the first.
there is no onclose...
i use onhide but nothing happens. the modalpanel is not shown
which version you using?
If there is any client side errors while using onhide?
If you define onhide="alert("!")" - will it apears?
i use 3.2.1
now it is working. i want the second panel to appear conditionally. this only works when i use a binding on showWhenRendered. if i use a binding on rendered it does not work.
yes, showWhenRendered - seems the best option to use conditional popup.