.confirm can receive { return: true }

By passing a truthy "return" option, confirm can resolve the promise.