Move dialog when mouse moves