Add header_action method for panels