Fixes #1294 - Companion, Delete action without a selection
re #1294 - clear input name if removing last input line