Bug 979207 - add PanelUI panelshown listener before showing panel, r=mikedeboer