First go at adding list dialog support.