Issue 4

Fixes #4 

Prompting when leaving page with unsaved changes to the filetree.