close dialog when mouse up