Dialog: fix multiple binding loops
There was multiple bindingloops:
- widthHint.value
- calculatedImplicitWidth
- calculatedImplicitHeight
For example calculatedImplicitWidth was assigning contentItem.width to contentItem.implicitWidth, which never should be done.
The widthHint was basically looping on itself, but the same result could be done with less calculations.