first draft of warning popup