remove alert messages automatically after 8 seconds