Add buildContextMenuModelData to LinkerManagerDialog to normalize/resolve model fields (name, original_path, resolved_path, category) and derive a safe filename fallback. Use this helper when serializing match.model for context menu data in renderLocalMatchesContent and the alternative matches loop, ensuring consistent context payloads and avoiding missing/undefined fields when opening the context menu.