removed obsolete code (field modal-contact) + added check for published

- removed obsolete code from field modal-contact, REF #721
- added check for published contacts