Alter double click to expand/collapse when not editing add panel config function callback to store.