adds support for the 'select' callback in the resource view