[SD-1240] Only empty stages can be deleted

Here can be added a document/stage that is not assigned to the new created stage.