take Dialog into accounts