Hi All,
Apex 5.1
SE 12.1
I have two modal regions on my page (they are regions, not modal pages) . Each has a separate static ID. I open one modal, and then have a button on that modal which opens a second modal. The problem I have, is that when I click a button to close the second modal using closeModal(), or closeModal('modal2'), it also closes the first one.
Ive tried hiding the second one, which kind of works (it leaves the title div, and I have to hide that separately), but then I cannot re-open it again. I've tried various methods to open and close the modals correctly, including the close and cancel Dialog dynamic action (which don't seem to do anything), as well as manually closing it, but without success.
If anyone can please advise, I would be grateful.
Many Thanks