Keep the dialog open when changing locations.