fixed bug where hiddenElements were being copied into elements object; updated signature of IFormButton#click()