Added DOM for alert message
Fixed DOM defs