@* T33b: body component for the "Rename folder" dialog hosted by IDialogService.ShowAsync. Renders ONLY the input + action buttons inside the host's .modal-body; the host owns the backdrop, header, and focus trap. Closes with the trimmed new name (string); Cancel resolves to null. Save is disabled while the field is blank (client-side guard); server-side rename failures are surfaced by the parent via a toast. *@ @code { /// Host-supplied context used to close (with the trimmed name) or cancel. [Parameter] public DialogContext Context { get; set; } = default!; [Parameter] public string InitialName { get; set; } = string.Empty; private string _name = string.Empty; protected override void OnInitialized() => _name = InitialName; private void Submit() { if (string.IsNullOrWhiteSpace(_name)) return; Context.Close(_name.Trim()); } }