Fix "ESC" close popups for taxonomy.

#337