set local modified for delete items and selection