Improve CSS layout for dialog buttons

Improving CSS layout for dialog buttons. 

fixes #51