add comments in WarningPopUp class