Issue #1684984: Added support for the token tree to be output in an AJAX dialog using #theme => token_tree_link.