Fixed RapidContext.Widget.Dialog to allow more dynamic sizing of the title bar.