dismiss keyboard before dismissing the view - seems to be an issue sometimes with modal view on iPad
fix keyboard resizing for Form Sheet modal style on iPad