some progress twoards a close button that doesn't call onSelectEnd but I'm tearing my hair out here