set modal dialog sizes to auto