~[if#1.~[displaypref:hidecontacts_enablebygroup]=1]
~[if#2.~(studentscreenaccess;contacts.html)#1]
<style>
    #dialogToContact {
        display: none !important;
    }
</style>
[/if#2]
[else#1]
<style>
    #dialogToContact {
        display: none !important;
    }
</style>
[/if#1]