do not open global alert if it does not exist in the dom