Rightmanager Dialog: Made call of getRolesForObject dynamic (type of Object)