Editing of existing substitution lists

Adds support for the configuration dialog to edit existing substitution
lists.