adds finish event to close video