refactor: Put panel header in panel wrapper. This allows a universal close action.