disabling of link clicks in mainline when options are open