dismiss buttons when touch elsewhere