We should probably wait with implementing this until bug 1724977 is fixed.
Bug 1724976 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We should probably wait with implementing this until bug 1724977 is fixed, to avoid surprising users who have both session restore on and didn't touch their close tab warning preference.