Added unsaved data loss confirmation to results page