dialog.close for shutdown dialog