return list of selected sites from dialog mode; formatting fixes