prevent click/touch events out of dialog