The issue has been closed
It would be nice to pop a modal dialog (window, prompt) when writing a new issue and leaving the page inadvertently (e. g. by clicking on one of those "similar issues"). This may lead to losing the issue comment (it's probably supposed to be saved in local storage by Github, but it definitely fails to be saved sometimes).
Example URL:
https://github.com/sindresorhus/refined-github/issues/new

I just tried even disabling JavaScript completely and the content of the comment field is stored by the browser, no JavaScript required. Even if you close the tab and reopen it. Heck even if you close the browser and reopen it I think.
posted by fregante over 5 years ago
@fregante known Firefox bug
posted by yakov116 over 5 years ago
posted by fregante over 5 years ago 
posted by fregante over 5 years ago 
@fregante I would not say this issue is a duplicate of #1598. As people mentioned in comments to that issue, there are already built-in support for this in Chrome, but it's unreliable, and so will likely be Refined Github's solution. Instead of allowing for a mistake and then reverting it (maybe; maybe not) I think it's better to prevent mistake in the first place with a prompt.
posted by leventov over 5 years ago
That issue is not about a prompt. The prompt suggestion issue was closed
posted by fregante over 5 years ago