releasing layout on data object deletion
moved data object deletion from luadata to data module