almost finish device edit add panel, not test the Socket type, but there is a but for deleting device