mouse event updated + confirm box