Prompt user when there are unsaved changes if they try to navigate away from page

Resolve #193