This feels odd. `AppModalComponent` is using `state.activeTask` as a proxy for the state of `StackedViewComponent`.

This makes me think the stacked view should not have "push" and "pop" because the state is no longer predictable with those actions. Instead, the modal should keep the active index in its state and pass it as a prop to the stacked view.