close unclosed ion-item