Proactive conservation to prevent habitat losses to agricultural expansion