title: Angular 8 ng-bootstrap modal not loading CSS classes
body: <p>I npm install @ng-bootstrap/ng-bootstrap@5.3.1 in an Angular 8 project, When I open the modal using the modal service, the first try the modal will take time to open. the second time the modal does not open. Looking at the devtool, the modal is open just doesn't have CSS classes set. I did import bootstrap to the styles.scss file <code>@import &quot;~bootstrap/scss/bootstrap.scss&quot;;</code> I tried using JavaScript to inject the CSS classes after open the model but didn't make any difference.</p>
  <pre><code>   @ViewChild('modalContent', { static: false }) private modalContent: TemplateRef&lt;any&gt;;
     // .....some code here....
  
      public openNgbModal(): NgbModalRef {
        return this.modalService.open(this.modalContent, {
          size: 'lg',
          backdrop: 'static',
          keyboard: false,
          windowClass : 'modal-content'
        });
      }
  </code></pre>
  <p>See below:</p>
  <p><a href="https://i.stack.imgur.com/o5bgz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o5bgz.png" alt="enter image description here" /></a></p>
  <p>The correct html should be the below:
  <a href="https://i.stack.imgur.com/FlQM3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FlQM3.png" alt="enter image description here" /></a></p>