How do i prevent the deleting of dimensions which are already created using dynamo

Are they deleting on subsequent runs? If so this is an element binding issue. You can learn more about this topic here:

If they are deleting through some other method we would need to know more about when and how it is occurring.