ButtonWidget: Fix titled button

The title was being applied to the wrong element.

Change-Id: I4959089bc1b8e09711f90c709762147d17204fd2
MediaWiki theme: Fix styling of SearchWidget

Also add to dialog demo.

Bug: 71889
Change-Id: I95e11ca339ebc9bb1f1b19e3e3a7340d9f76865d
Refine global event handling in non-isolated window managers

When we only have one HTML document, use event target filtering
to only block events originating from outside the dialog.

This doesn't completely stop parent window scrolling as events
emitted from inside the dialog can still bubble up.

Change-Id: If8423e37fef67c277a752015c9ac350f001847ce
WindowManager: Wait for window to open before trying to close it

this.opened is not necessarily set at the point where we were
accessing it. Defer that until the window is opened.

Bug: 69918
Change-Id: I36721756bf5810827973ebb2cbcf6570e12e690a
Element: Correct method name reference in documentation

Change-Id: I9fc7397efa5ab0cd80ec77c0f8b32bfeeec43e95
Merge "ButtonWidget: Fix titled button"
Merge "MediaWiki theme: Fix styling of SearchWidget"
Merge "Refine global event handling in non-isolated window managers"
Merge "WindowManager: Wait for window to open before trying to close it"
Merge "Element: Correct method name reference in documentation"