High quality factor confined Tamm modes