add a dialog for make a graph
ok