One nice thing about the variable 'current', which contains reactiveValues, is it keeps track of both the current "nav tab" and the current "sub tab." So, to get a modal to pop up on a specific sub tab, we just need to check if current$tab == "tab-name" inside an observe function.
Based on that, I put 2 options in Server, lines 104-116 for the modal pop-up. The first option uses observeEvent, which you can see allows you to specify that the event only be executed once -- could be nice for the modal in this case?
One nice thing about the variable 'current', which contains reactiveValues, is it keeps track of both the current "nav tab" and the current "sub tab." So, to get a modal to pop up on a specific sub tab, we just need to check if current$tab == "tab-name" inside an observe function.
Based on that, I put 2 options in Server, lines 104-116 for the modal pop-up. The first option uses observeEvent, which you can see allows you to specify that the event only be executed once -- could be nice for the modal in this case?