save selection dialog string