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

- Also fix modal headline hide when in mobile view.
Merge pull request #1427 from jpetto/bug-941663-aria-labelledby-modal

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