added the device input modal