Improve error handling for synchronization: show dialog, ...