Fix dialog to move only with 3 or 4 fingers.