select first field and show tab if any when new clicked.
when there are form errors, select first error field and show tab