added working dialog