da57c307a7
After inline "New script" creates an SC-… id, the entry is now added to _scripts BEFORE _form.ScriptId is set so the <InputSelect> has a matching <option> on first render and the displayed label is correct. Extracts VirtualTagModalHelpers.ResolveScriptLabel as a testable pure helper (5 new unit tests in VirtualTagScriptDropdownTests).