adding dynamic classes to cmd link dialog
- courtesy of v7.1