Issue #2249723 by andrei.dincu: Set state variables before first entity creation in xmlsitemap.install
Issue #2249723 by andrei.dincu: Do not allow xmlsitemap widget to appear on delete entity form view