Dismiss view controller when tap out of the formsheet