how to get a temporary custody order