Prevent default action on sidebar click only for test triggers.