make dialogs work properly
Add contacts plugin support