added popup to the hierarchy removal