Closing keyboard when popup icon clicked