Update close button on defaultdialog