fix Add item form, characters that are not deleted even if Cancel button is clicked