Added asci code for dialog cross button.