if (params.openTab == undefined) {
params.openTab = shouldOpenTabThisTime()
if (params.openTab === null) {
// the option key is down, and the Finder window will close, so we should do nothing
return
}