Added code for dismissible alerts

Please merge after https://github.com/wet-boew/wet-boew/pull/5935 has been merged.
Wrap HTML element names and localStorage in code elements.