Made selection editing smarter about when to use the more compact dialog