shutdown:fix bug of confirmdialog press ENTER ,cannot excute