Not sure if this is really a bug.
But when clicking on a shape model button, the shape model is shown as a child of the selected image in data manager. When clicking on it in data manager, the button is deselected and the shape model is removed.
Better behaviour would be:
- Do not show it at all in data manager, or
- Do not deselect the button when clicked outside