add alreadyOpen if we're switching inputs