modify captureAction