Add input field to canvas.

Code review is needed..