Add confirmation dialog before syncing through the API, such that the user can cancel the sync in case of an error.
Add confirmation dialog before syncing through the API, such that the user can cancel the sync in case of an error.