Updated JS responses for sitemap modal to close popup when necessary, restored grey hidden links