Added key listeners to selector dialog box.