Issue #1560086 by Alan D.: Patch by aaronbauman to add token dialog support. This was added in 7.x-1.3.