show attached figures on relations/elements overlays
[relations] fix some issues and display edit/delete buttons
remove some unnecessary code
fix a m2m field saving issue on relation