Use Pane::onDidAddItem instead of ::observeItems

The former includes the index at which the item was added and the latter
does not.