Re-worked map dialog so that map layer is created and destroyed with
each opening of the dialog.