Made alert messages more accesible by placing them into dialog.py