hiding alert after 5 seconds