could specify the position of item which do not want to close when closeOpenedItems is calling