Nevermind, having requiresPostCommitHanding return true in the event listener made it work in both cases.