Adding dialog boxes and fixed network error.