fix popup for window open
add loadURL for popup