DInputDialog supports enter

tower: https://tower.im/projects/d4e0ff64158645f28d99a9ca72d0c27b/todos/867d5fe33f9f4eba8a657ff4d9072eaa

Change-Id: I11f4207d09b7cd877b28ed53b011b958d24d1da3