Quit Confirmation for Safari on MacOS

A basic alternative for anyone who doesn't need anything sophisticated: Quit Safari, with confirmation check only if a window is open Macro