Make link insert tags and navigation modules domain-aware (see #3765)