Modified document to include the final alert message