Ask the user for confirmation before closing a tab/binary.