[BUGFIX] Flash messages are not shown with AJAX requests