fixed processing of warning message even if the message is deleted by the user