Sadly I had forgotten to add selectionmode.ui to git. Here is a reconstructed version that seems to work.