Shows flash messages after AJAX request