fix onLeaveDialog option in default-config