I am using kartik GridView and kartik AlertBlock in my application. AlertBlock is used to inform user when they successfully delete/create/update a model.
I found out that if AlertBlock is used in view (view is shown inside a modal), after success create or update actions. It can disappear by itself. However, when I put AlertBlock inside a GridView (kartik used panel and PJAX) which triggered by delete action. It does not disappear by itself.