Prevent tree from sending submission data when it's not in the correct context (i.e. a game situation).