rename exit dialog to new alert dialog and modify its layout