Warn user that edits may be lost.