Fix use of deprecated `buttons` method [form doc]