Prevent MMB or RMB dialog dragging. #932