Changed AddError to AddMessage for delete folder