Fixed|UI|Client: Updating widget margins

The sums were not correctly updated when margins were changed.
UI|Client: Adjusted dialog content margins

Now the buttons don’t have a top margin, which allows the content
to be laid out without overlapping the buttons.