Added proper keyboard dismissal upong alert view dismissal.