Added WarningWindow class