"a child may be isolated from other children only if he or she cannot be managed and is deemed to be a danger to himself herself or others for a period of no longer than two hours for the purposes of providing support and giving him or her time to regain control and dignity"