OK, finally got the dismiss gesture handler working. Still need a little work on dismiss in landscape.