Added alert when ball goes off screen and resets game when dialogue is dismissed