do_modification now returns whether the modification is committed