Panel: only call getWrapper on create or when page changes for external

Fixes gh-6885
Fixes gh-6260