rewrite parts of link modal