It seems like the keepOpen flag only works for Enter key submit, it does not work when clicking the button for submission.