--fix dialog styles, adding size options to dialog object