add stub event handler for every view