prompt for save before view diff