Got the basic setup for the distance popup working.