Fix real time update of dialog permissions depends on the current person permissions
Merge branch 'MH-794' into dev