added dialogClass param to ListController