Merge pull request #22292 from gasolin/issue-1040406

Bug 1040406 - dismiss current permission dialog once attentionscreenshow..., r=alive