Add focus in primary button when open modal to update or delete register