added dismiss keyboard feature when segue takes place