nice lil dialog.
on this line
set %drive $did(drive.properties,3)
no real need to make it a global var when a local will do the job.
also you may just as well change this line
dialog -dm drive.properties drive.properties
to
dialog $iif($dialog(drive.properties),-v,-dm) drive.properties drive.properties
just incase you have morons trying to opening it while it's already open so they dont get an error ;x