done for yes button except alert