added detail form for selected Text element
cleanup
line details form