added event listener to model.isDisplayed change