Turn getStatusErrorBox() into getStatusBox() so it can handle warnings too