Bugfix: fire selection event when entering values through the dialog