updated dialog1 and dialog2
updated dialog2