Variables edit dialog