modify model shown event