Pressing 'delete' in an input with no text removes the node.