add keydown event dialog & network dialog