Dialog class was created