Show error dialog if project switch fails