updated validation to work on the tabs, and updated the action pointer