Modify MapDialog to dynamically show content

http://www.cs.dartmouth.edu/~campbell/cs65/lecture13/lecture13.html