Added a new dialog that can show arbitrary content from a build function.