added methods to disallow tap to dismiss