working on device edit window