Add the possibility to specify enabled dismissal modes: single tap, flick, pinch-to-close