I\'m running a Flask app and trying to get flashed messages to the frontend without reloading the page. The alert is in a partial html file _flashes.html and should be loade