Lock the delete resources modal during deletion
Merge branch 'issue-2867-delete-content'