add dirty check for leaving dashboard page if unsaved
Merge pull request #13 from stuartnelson3/master

add dirty check for leaving dashboard page if unsaved