fix popup target div reference
add documentation