Local officials discuss dangers of texting while driving