Load ASP.NET MVC Partial Views Dynamically Using jQuery Most of the times ASP.NET MVC views are rendered as a result of user navigating to some action. Send an AJAX request where pass the userid as data. Session Expiration Time out Popup using jquery - CodeProject Bonus 1 — Make the modal appear only on the page first load… Hi, Welcome to the forums . Show boilerplates bar less often Save anonymous (public) fiddle? Codepen Loading Dots. The two CSS selectors I added are the following:.centered-modal.in { display: flex !important; } .centered-modal .modal-dialog { margin: auto; } Rich options for youtube API and Vimeo API; Demo Japanese Document. But what we want is that the modal appears only at the first load of the page and then no more until we open the page in a new tab. Example 1: