No need for AnnotationDialog::ListSelect::getSelectedTags() – it's already implemented (slightly different in itemsOn(), which we can use as well.