Replace deprecated classes

Use orientation instead of deprecated H or V prefix.
Replace dialog.vbox by get_content_area()