title: How to adjust Shiny modalDialog() width to a DT object to fully show the table information?
body: <p>I do have a table with a width that is bigger than the <code>modalDialog()</code> element which display it. I would like this specific modialDialog() (I do have others in the app that I don't want to modify) to have a sufficient width to fully display the DT object.</p>
  <p>I tried to use the <code>size = &quot;l&quot;</code> argument of <code>modalDialog()</code> without success. Could someone help me to figure out to do this? Strangely I was not able to find any clues on that despite some css changes that impact all modals.</p>
  <p>Below a minimal example:</p>
  <pre><code>require(shiny)
  require(DT)
  
  shinyApp(
    ui = basicPage(
      actionButton(&quot;show&quot;, &quot;Show modal dialog&quot;)
    ),
    
    server = function(input, output) {
      
      # Render DT
      output$dt &lt;- DT::renderDT(cbind(iris, iris))
      
      # Modal management
      observeEvent(input$show, {
        showModal(
          modalDialog(
            size = &quot;l&quot;,
            easyClose = T,
            
            DT::DTOutput(&quot;dt&quot;),
            
            footer = tagList(
              modalButton(&quot;Cancel&quot;),
              actionButton(&quot;ok&quot;, &quot;OK&quot;)
            )
          )
        )
      })
    }
  )
  </code></pre>