uses export dialog