Fix publishing posts in unpublished categories problem.
Ask if user is leaving import page.