Fixes multiple prompt bug for Remove item from collection.