Moved selection listeners onto the text grid model.