The 'add' field gets a hidden GUID which, on preview, is used to upsert a row recording the most recent "preview" for each such session. When you post, the new node_id gets recorded in the preview row. Posting when a node_id is already in the preview row either updates the linked node or perhaps offers to.
Preview rows from a week ago get purged. One day users can reclaim unposted previews.