Adding display of error dialogs for: file error (sending file), network error, API error

Adding display of error dialogs for: file error (sending file), network
error, API error