This apparently leaves the ItemSelectionDialog open, although I'm not sure why. It's a WindowModal, so it should be closed first..