WP-3862 A very rough version of our own hierarchy select widget