title: How to use tabPanel as input in R Shiny?
body: <p>Is it possible to perform an action if the user clicks into a particular <code>tabPanel</code>?</p>
  
  <p>For instance, if the user clicks into <code>tabPanel("A", ...)</code> then display a popup saying <code>You are viewing tab "A"</code>.</p>