ontainer = document.querySelector(".tiles");
        const appModals = appTilesContainer.querySelectorAll(".modal");
        const appModalLinks = appTilesContainer.querySelectorAll("a[data-app]");

        for (const appModal of appModals) {
            $(appModal).on("hide.bs.modal", function () {
                const searchParams = new URLSearchParams(window.location.search);
                if (searchParams.get('app') === appModal.id.replace(/^modal-/, '')) {
                    searchParams.delete('ap