adds type='image' as submit button option, closes #355