Set title/state even when deleting the input.