Throw an error if FileTree or PageTree widgets are left blank although they are marked as mandatory in the DCA (see #5131)