added dialog for failed http requests