Disable cancel for method expert dialog