Add a onShow callback so plugins can know when they're shown