[bug 867734] Organize topics/subtopics on document form.

Adds special widget to handle topics->subtopic listings.