copied panel into model