snake dialog: adapt form toolkit