Fixed bug with displaying critical confirms