hide the edit button if there are no contacts
fixing repeated comments issue