Apache 2.0 license; Details view toolbar edit mode logic and delete role dialog