A further question: When I am done with my selection I have to exit the selection mode again. Is there a way so that the selection_mode would finish if any other key than e.g. a movement key is pressed?
I'm almost certain this would require a plugin -- which means python -- and, not being a programmer, I can't help you further. Hopefully someone else will pitch in.