Adds warning when editing a container visible to students

STUD-1915. This is a dupe of #4322 because that PR was accidentally closed with zero commits while I was doing git incantations.

@cahrens @andy-armstrong