selected entity gets selected in the entity list ui