fix: display a descriptive message instead of closing the tab Closes #712 See merge request inject/frontend!611