When you edit document (Pages, Numbers, …) in macOS, it will automatically save your document.

How to disable autosave documents in macOS

  1. Goto System Settings…
  2. CLick Desktop & Dock
  3. Scroll down to Windows section
  4. Toggle “Ask to keep changes when closing documents” as need.

Ask to Keep Changes When Closing Documents