v0.0.4: fix ENTER handling in inputDialog