Turn off close confirmations for unittests

Refs #9060