add new confirmation dialog for moving away from unsaved files