Good day and night! Please help! There is a script modal window. Clicking on the .open block opens a modal window with the .modal block. Clicking on the .close block .close modal window. Please help .open with the following: how when you click on the .open block .open also close the modal window?
 $(function () { $('.open').click(function(){ setTimeout(function(){ $(".modal").addClass("show"); }, 2500); }); $('.close').click(function(){ $('.modal').removeClass('show'); }); }); 