I have an app setup with additional tools under a modal. Inside that modal, there are several tools, some of which are additional modals. I cannot open this nested modal programatically unless modal1 is opened.
- Create modal1
- Inside modal1, create modal2 (button to open modal2 is inside modal1)
- Create button1 outside of modals (e.g. main container)
- Set on-click event to open modal2
- modal2 does not open when you click button1
- After clicking button1, modal2 only appears when you open modal1