Could we get $(...) expanded to work with the ON DIALOG event as well? I like to store the dialog name in a local alias as it gets called for several different functions besides just the dialog name (hashtable filename, etc).