My apologies.. to get rid of those Unknown Command errors, change the two lines that currently read
Code:
$+(%,sys.dk,%sys) = $5
to
Code:
var $+(%,sys.dk,%sys) = $5


As to your dialog, I haven't really looked at it yet.. I was more concerned with correcting that error.. watch for further posts.