admin-ui: Improve the behavior of contact modals

Fix apyrgio/synnefo#128