Added a warning to prevent accidently deleting a page
Use reporter instead of window for confirm msgbox & replace the word 'page' with 'card'
Merge pull request #2370 from gklo/2337-close-tab-confirm

Fix #2337: Added a warning to prevent accidently deleting a page