Check unsaved changes

If there are unsaved changes, verify with the user before allowing "New Project", "Load Project", or leaving the page.
Takes care of https://github.com/KSHSK/WAVED/issues/51