Update pin dialog; add from origin distance (unfinished)