It will display once when the user login, but once the user logout from the system and login back the pop up will not display again. if(window.opener != null && !window.opener.closed). You can use localStorage for that. To learn more, see our tips on writing great answers. Identify those arcade games from a 1983 Brazilian music video. If you preorder a special airline meal (e.g. How to open a Bootstrap modal window using jQuery? You could use sessionStorage - code example below: , if (sessionStorage.getItem('modal') !== 'true') {, $('body').append('