#665: The submitButtons option doesn't work correctly