#50 Center dialogs vertically: fix for 5.0.b where panel is accessed as this.panel instead on this.widgets.panel