Implement table selection

Per https://github.com/clearsightstudio/ProMotion/issues/571.