Prevent click triggering action when tab is disabled