I need a loader when opening a modal window in my shiny app. I am using "withSpinner" function to do that but the problem is, withSpinner only appears on the first