Moving modal close into framed content