toplink declaration
copy button attributes to hidden input for equivalent behavior