disables keyboard navigation in sitemap when a modal is opened