editPanel init