add alert view with one button and dismiss method