When you close the popup, the data assigned by the popup is lost. (In IE)
I would suggest calling a function to the opener, from the popup, with the data as parameters. the function then sets (copies) the data to variables in the opener.
So, this should work:
(Not yet tested)
Child window:
function selectEdge(name, price, type){
opener.setEdge(name, price, type);
window.close();
}
Parent Window:
function setEdge(name, price, type){
edge = [name, price, type];
}