dialog lock on indirect cancel