Opening a popup window from another popup window

Did you set your layer for the new popup to be higher than the current one?