Adding dialog for text messages.