Start work on editing categories dialog.

This doesn’t work yet.