Dialog can be resizable and change dialog size