Fix aria-labelledby bug on SOM 2012. Bug 941663.

- Also fix modal headline hide when in mobile view.