Made dialog support custom colors for confirm/cancel buttons. SizeToParent now uses syncTo and detachFrom instead of applyConstraint. SizeToParent now rounds values since fractional pixels are possible which can throw off descendant sizes by a pixel.