Added support for open multiple tabs with the hidden input element.