Wire method: UserInterface.ShowSaveDialog. Returns bare path string or null so Wind’s typeof Result === "string" guard finds a string value directly.
UserInterface.ShowSaveDialog
typeof Result === "string"