also along those lines
on :DIALOG:accessdia::*: { if ($devent == init) { } if ($devent == sclick) { } }