Minor additions regarding adding a delay before showing the alert.