Warn user about losing unsaved notes