ensure when moving between tabs we don't crash and recover if possible

in this new code at this point !name means the XHR didn't include a name (or included an empty string name) so we can't be sure what the user wants to delete. This should definitely be already be a string if it comes from the tab with the still-in-the-browser named app