uidialog component add maximizable and minimizable features