dismiss accept confirmation button only when body is clicked