added close btn to modal that show entity contexts