add event handler for interaction select