correct display tab and header in modal form