Hi strikingknife,
That code just use for the user click on the " Add contact" button, if you handle all contact lists of user by code. Delete the code will not be affected.
" my contact is added intermittently", this happen when add contact by code or by click the " add contact" button?
If you mean by the "add contact" button, it is correct, because you comment the pop up code.
Maybe you can explain your requirement on detail why you need to comment this code, so I can show you how to achieve it.
Keep me posted.
Regards,
ken