LPS-42389 Detach selection also on destroy as in openDDMPortlet