Only prompt for en/dis confirmation when dependencies are impacted.

Port of: https://www.drupal.org/node/2037053#comment-7633493