Added error dialog when a request fails (iOS)