add documentation
adding support for an onSelect event that the controller can use to select entities for textannotations