buttons should be placed inside form tag (see. issue #1)