Add documentation and tests for all dialog types