Added create new input with enter keypress functionality.