fix left click on dialogue