title: Modal show once per session
body: <p>I have modal wizard that shows an instruction in my page. I want to show the modal once per session</p>
  
  <p>Here's my code</p>
  
  <pre><code> &lt;div class="modal fade" id="wizardmodal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog modal-lg modal-dialog-centered" role="document"&gt;
        &lt;div class="modal-content"&gt;
          &lt;div class="modal-header"&gt;
            &lt;h5 class="modal-title" id="exampleModalLabel"&gt;Add Property&lt;/h5&gt;
            &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
              &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
            &lt;/button&gt;
          &lt;/div&gt;
          &lt;div class="modal-body"&gt;
  
            &lt;!-- Smart Wizard HTML --&gt;
            &lt;div id="smartwizard"&gt;
                &lt;ul&gt;
                    &lt;li&gt;&lt;a href="#step-1"&gt;Step 1&lt;br /&gt;&lt;small&gt;Add Property&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a href="#step-2"&gt;Step 2&lt;br /&gt;&lt;small&gt;Type of Property&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;
  
                &lt;div&gt;
  
  
  
  
          &lt;/div&gt;
          &lt;div class="modal-footer"&gt;
            &lt;button type="button" class="btn btn-secondary" data-dismiss="modal"&gt;Close&lt;/button&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>I'm currently using modal show. </p>
  
  <pre><code> $(window).on('load',function(){
      $('#wizardmodal').modal('show');
      });
  </code></pre>
  
  <p>The modal automatically show when i reload the page. What should I do?</p>