Fix to issue #1301

It shows two commits...they're the same thing though...the second one was just adjusting the css style to have open brace on same line...

Used inspector to do basic testing of the other dialogues and so far everything looks OK.