alert_element left to empty string, unless an actual element exists