Close parent containers after last View is removed