#786384 by Dave Reid: Remove modal dialog dependency on dialog.module and add re-usable modal link API. by Dave Reid: Fixed recursive bug with xmlsitemap_get_entity_info() and xmlsitemap_link_bundle_load().