modif neural netowrk and dialog