bug fix: example dialog does not show in middle of screen