Implemented AlertDialog before delete all contacts.

Surprisingly, much harder than it needed to be.