Only dispose views and controllers after the model is removed from the navigation stack.